package com.qidian.mes.machine.mapper;

import com.qidian.mes.pojo.MachineType;

import javax.crypto.Mac;
import java.util.List;

/**
 * @Author 任超
 * Time 2024/10/15 19:44
 */
public interface MachineTypeMapper {
    List<MachineType> selectList(int parentId);

    List<MachineType> queryList(MachineType machineType);

    int addMachineType(MachineType machineType);

    MachineType selectById(Long typeId);

    int updateRowTypeParent(Long typeId);

    int updateMachineType(MachineType machineType);

    MachineType selectByCode(String code);

    int updateMachineTypeStatus(Long typeId);

    int selectParent(Long typeId);


}
